<?php
class Components extends UI_MobilePage
{
    public function __construct() {
	parent::__construct();

	$p = $this->createPage("Zenmo - Components");

	$list = new UI_ListViewBox("Page");
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:page:Single"), "Single Page"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:page:Link"), "Page Linking"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:page:Transitions"), "Transitions"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:page:Dialog"), "Dialogs"));

	$p->add($list);


	$list = new UI_ListViewBox("ToolBar");
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:toolbar:Header"), "Header Buttons"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:toolbar:Footer"), "Footer Buttons"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:toolbar:Navbar"), "NavBar Buttons"));

	$p->add($list);

	$list = new UI_ListViewBox("Buttons");
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:button:FullWButton"), "Full Width Button"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:button:Simple"), "Simple Buttons"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:button:Table"), "Tablled Buttons"));


	$p->add($list);

	$list = new UI_ListViewBox("Content");
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:content:Html"), "HTML content"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:content:Collapsible"), "Collapsible content"));

	$p->add($list);

	$list = new UI_ListViewBox("Form");
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Simple"), "Simple Form"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:FormPost"), "Form Post"));
	$list->add(new UI_ListView_ItemDivider("Components"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:TextInput"), "TextInput"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Flip"), "Flip"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Number"), "number"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Password"), "password"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Radiogroup"), "RadioGroup"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Search"), "Search"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Select"), "Select"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Slider"), "Slider"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:form:Textarea"), "TextArea"));


	$p->add($list);

	$list = new UI_ListViewBox("Lists");
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:list:Listview"), "List View"));
	$list->add(new UI_ListView_ItemLink($this->getUrl("site:components:list:Listviewbox"), "List View Box"));
	

	$p->add($list);

	    




	




    }
}